package com.dyzx.hbb.modules.sys.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class SysWorkPaymentBeanVO {


    /**
     * 支付方式
     */
    @JsonProperty("payment_method")
    @NotNull(message = "payment_method不能为空")
    private Integer paymentMethod;

    /**
     * 订单ID
     */
    @JsonProperty("order_id")
    @NotNull(message = "order_id不能为空")
    private long orderId;

    /**
     * 支付金额
     */
    @JsonProperty("money")
    @NotNull(message = "money不能为空")
    @Min(value = 0,message = "money必须大于0")
    private  Long money;



    @JsonProperty("type")
    @NotNull(message = "type不能为空")
    @Min(value = 1,message = "type必须大于0")
    private Integer type;


    @JsonProperty("state")
    private  Integer state;
}
